# -*- coding: utf-8 -*-
# meet_at.urls

from werkzeug.routing import (
  Map, Rule, Submount,
  EndpointPrefix, RuleTemplate,
)
import meet_at.views

def admin_rules():
  return [
    Rule('/add_event', endpoint='add_event'),
  ]

def make_rules():
  return [
    EndpointPrefix('meet_at/', [
      Rule('/', endpoint='index'),
      Submount('/admin', admin_rules()),
    ]),
  ]

all_views = {
  'meet_at/index': meet_at.views.index,
  'meet_at/add_event': meet_at.views.add_event
}
